package com.msl.debezium.dto;

import com.msl.debezium.desensitized.Sensitive;
import com.msl.debezium.desensitized.SensitiveTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserDto extends BaseDto{
    @ApiModelProperty(notes="用户ID",required=false,example="")
    private Long id;

    @Sensitive(type = SensitiveTypeEnum.CHINESE_NAME)
    @ApiModelProperty(notes="用户姓名",required=false,example="")
    private String username;

    @ApiModelProperty(notes="密码",required=false,example="")
    private String password;
}
